ResNsendFlags

Possible values of the flags argument to android_res_nsend and android_res_nquery. Values are ORed together.

Values

ValueMeaning
ANDROID_RESOLV_NO_RETRY1 << 0

Send a single request to a single resolver and fail on timeout or network errors

ANDROID_RESOLV_NO_CACHE_STORE1 << 1

Do not cache the result of the lookup. The lookup may return a result that is already in the cache, unless the ANDROID_RESOLV_NO_CACHE_LOOKUP flag is also specified.

ANDROID_RESOLV_NO_CACHE_LOOKUP1 << 2

Don't lookup the request in cache.

Meta